package java9_7;

import java.util.Arrays;

public class Test_5 {
    public static void main(String[] args) {
        String a="中国队必胜";
        byte []bytes=a.getBytes();
        System.out.println(Arrays.toString(bytes));
        System.out.println(">>>>>>>>>>");
        String c="我爱中国";
        char[]chars=c.toCharArray();
        char[]chars1=a.toCharArray();
        System.out.println(Arrays.toString(chars1));
        System.out.println(Arrays.toString(chars));
    }
}
